package cn.edu.gxu.oas.module.run.controller.admin.department.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 学院新增/修改 Request VO")
@Data
public class DepartmentSaveReqVO {

    @Schema(description = "学院ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8521")
    private Long id;

    @Schema(description = "学院名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "学院名称不能为空")
    private String name;

    @Schema(description = "学院代码")
    private String code;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer sort;

}